package com.ruoyi.gzs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地块管理对象 gzs_area
 * 
 * @author Liurenyi
 * @date 2022-06-29
 */
public class GzsArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 地块名称 */
    @Excel(name = "地块名称")
    private String name;

    /** 负责人 */
    @Excel(name = "负责人")
    private String userid;

    /** 主要农作物 */
    @Excel(name = "主要农作物")
    private String maincrop;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setMaincrop(String maincrop) 
    {
        this.maincrop = maincrop;
    }

    public String getMaincrop() 
    {
        return maincrop;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("userid", getUserid())
            .append("maincrop", getMaincrop())
            .toString();
    }
}
